import os
basedir = os.path.abspath(os.path.dirname(__file__))
CSRF_ENABLED = True
SECRET_KEY = 'you-will-never-guess'
db_user = 'postgres'
db_pw = 'is2admin'
db_host = 'localhost'
db_name = 'is2db'
db_port = '5432'
OPENID_PROVIDERS = [
    { 'name': 'Google', 'url': 'https://www.google.com/accounts/o8/id' },
    { 'name': 'Yahoo', 'url': 'https://me.yahoo.com' },
    { 'name': 'AOL', 'url': 'http://openid.aol.com/<username>' },
    { 'name': 'Flickr', 'url': 'http://www.flickr.com/<username>' },
    { 'name': 'MyOpenID', 'url': 'https://www.myopenid.com' }]
    
SQLALCHEMY_DATABASE_URI = 'postgresql://' + db_user + ':' + db_pw + '@' + db_host + '/' +db_name
SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository')


